﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ObviousCode.Stately.Compiler.Validation.Expectations.ExpectationValidation
{
    public class ValidationError
    {
        public ErrorType ValidationErrorType { get; private set; }
        public DefinedStateTransition ExpectedTransition { get; private set; }

        private ValidationError(ErrorType errorType)
        {            
            ValidationErrorType = errorType;
        }
        public enum ErrorType { MissingMethod }

        internal static ValidationError MissingMethodError(DefinedStateTransition transition)
        {
            ValidationError error = new ValidationError(ErrorType.MissingMethod);

            error.ExpectedTransition = transition;

            return error;
        }
    }
}
